package com.voxel.sense.infomsg.data.bean;

import com.voxel.sense.infomsg.view.progress.ISegmentProgress;

/**
 * @author ChenYiYao
 * @date 2018/5/14
 * des : 定义状态
 */
public class ProgressBean implements ISegmentProgress {
    int ProgressColor;
    int startPosition;
    int endPosition;

    public ProgressBean() {
    }

    public ProgressBean(int progressColor, int startPosition, int endPosition) {
        ProgressColor = progressColor;
        this.startPosition = startPosition;
        this.endPosition = endPosition;
    }

    public int getProgressColor() {
        return ProgressColor;
    }

    public void setProgressColor(int progressColor) {
        ProgressColor = progressColor;
    }



    public void setStartPosition(int startPosition) {
        this.startPosition = startPosition;
    }


    @Override
    public int getStartPosition() {
        return startPosition;
    }

    public int getEndPosition() {
        return endPosition;
    }

    @Override
    public int segmentColor() {
        return endPosition;
    }

    public void setEndPosition(int endPosition) {
        this.endPosition = endPosition;
    }
}
